home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.3 / Sleep.3 < prev    next >
Encoding:
Text File  |  1995-07-26  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      TTTTkkkk____SSSSlllleeeeeeeepppp((((3333))))                  TTTTkkkk (((( ))))                   TTTTkkkk____SSSSlllleeeeeeeepppp((((3333))))
  5.  
  6.  
  7.  
  8.      _________________________________________________________________
  9.  
  10.      NNNNAAAAMMMMEEEE
  11.           Tk_Sleep  -  delay  execution  for   a   given   number   of
  12.           milliseconds
  13.  
  14.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  15.           ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
  16.  
  17.           TTTTkkkk____SSSSlllleeeeeeeepppp(_m_s)
  18.  
  19.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  20.           int_m_s(in)
  21.           Number of milliseconds to sleep.
  22.      _________________________________________________________________
  23.  
  24.  
  25.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.           This procedure delays the calling process by the  number  of
  27.           milliseconds  given  by  the _m_s parameter, and returns after
  28.           that time has elapsed.  It is typically used for things like
  29.           flashing  a  button,  where  the  delay  is  short  and  the
  30.           application needn't do anything while it waits.  For  longer
  31.           delays  where  the  application  needs  to  respond to other
  32.           events during the delay, the procedure TTTTkkkk____CCCCrrrreeeeaaaatttteeeeTTTTiiiimmmmeeeerrrrHHHHaaaannnnddddlllleeeerrrr
  33.           should be used instead of TTTTkkkk____SSSSlllleeeeeeeepppp.
  34.  
  35.  
  36.      KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  37.           sleep, time, wait
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 7/23/95)
  64.  
  65.  
  66.  
  67.